//
//  ViewController.swift
//  TCTreeListView
//
//  Created by 叮叮 on 2021/4/25.
//

import UIKit

class ViewController: UIViewController {
    
    let data = ["运动":["体育":["球类运动":["足球","篮球","乒乓球"],"马拉松":"马拉松长跑","田径":["跳高","跳远","长跑"]]]]

    override func viewDidLoad() {
        super.viewDidLoad()
        
        let treeListView = TCTreeListView.init(frame: view.bounds)
        treeListView.data = data
        view.addSubview(treeListView)
    }
}
